<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>安评单位信息管理</title>
    <script src="../../js/header.js"></script>
	<style type="text/css">
		html, body, #jscompanymessage {
			padding: 0px;
			margin: 0px;
			/*height: 100%;*/
		}
		#jscompanymessage{
			border-top: 3px solid #0D9AFF;
			padding: 25px;
		}
		.tab-title{
			font-size: 16px;
			font-weight: bold;
			border-left: 4px solid #0D9AFF;
			font-family: PingFangSC-Medium;
			padding-left:10px;
			margin-bottom: 20px;
		}
		.el-dialog__footer {
			padding: 10px 20px 20px;
			text-align: center;
			-webkit-box-sizing: border-box;
			box-sizing: border-box;
		}
		.el-dialog__body {
			color: rgb(96, 98, 102);
			font-size: 14px;
			word-break: break-all;
			padding: 0px 20px;
		}
		#excel {
			display: none;
		}
		.el-input__inner {
			-webkit-appearance: none;
			background-color: #FFF;
			background-image: none;
			border-radius: 4px;
			border: 1px solid #DCDFE6;
			-webkit-box-sizing: border-box;
			box-sizing: border-box;
			color: #606266;
			display: inline-block;
			font-size: inherit;
			height: 30px;
			line-height: 30px;
			outline: 0;
			padding: 0 15px;
			-webkit-transition: border-color .2s cubic-bezier(.645,.045,.355,1);
			transition: border-color .2s cubic-bezier(.645,.045,.355,1);
		}
		/*#jscompanymessage .el-input,
		#jscompanymessage .el-select,
		#jscompanymessage .el-input-number{
			width: 100%;
		}*/
		.listed .el-form-item__label{
			letter-spacing: 3px;
		}
		.el-textarea {
			/*width: 95%;*/
		}

		/* 搜索按钮样式修改 */
		#jscompanymessage .el-button.is-circle.search_btn{
			position: absolute;
			right: 0;
			top: 0;
			border: 0;
			background: none;
		}
		#jscompanymessage .el-button.is-circle.search_btn i{
			font-size: 17px;
		}
		.zcform .tab{
			border: 1px solid #DCDFE6;
		}
		.zcform .el-input__inner {
			-webkit-appearance: none;
			background-color: #FFF;
			background-image: none;
			border: 1px solid #DCDFE6;
			border-radius: 0px;
			-webkit-box-sizing: border-box;
			box-sizing: border-box;
			color: #606266;
			display: inline-block;
			font-size: inherit;
			height: 30px;
			line-height: 30px;
			outline: 0;
			-webkit-transition: border-color .2s cubic-bezier(.645,.045,.355,1);
			transition: border-color .2s cubic-bezier(.645,.045,.355,1);
			width: 100%;
		}
		.zcform .linkMan .el-input .el-input__inner{

			height: 60px;
		}
		.zcform .el-textarea__inner {
			display: block;
			resize: vertical;
			padding: 5px 15px;
			line-height: 1.5;
			-webkit-box-sizing: border-box;
			box-sizing: border-box;
			width: 100%;
			height: 120px;
			font-size: inherit;
			color: #606266;
			background-color: #FFF;
			background-image: none;
			border: 1px solid #DCDFE6;
			border-radius: 0px;
			-webkit-transition: border-color .2s cubic-bezier(.645,.045,.355,1);
			transition: border-color .2s cubic-bezier(.645,.045,.355,1);
		}
		.zcform .el-input .el-input__clear {
			line-height: 30px;
		}
		.zcform .el-input__icon {
			line-height: 30px;
		}
		.zcform .el-form-item {
			margin-bottom: 0px;
		}
		.zcform .el-form-item__content {
			line-height: 30px;
			position: relative;
			font-size: 14px;

		}
		.zcform .el-form-item__error {
			color: #F56C6C;
			font-size: 12px;
			line-height: 1;
			padding-top: 4px;
			position: absolute;
			top: 0px;
			left: 114px;
			z-index: 99;
			width: 400px;
			text-align: left;
		}
		.zcform .red{
			color: #F56C6C;
		}
        .zccheck .el-form-item__content{
            line-height: 40px;
        }
	</style>
</head>

<body>
<div v-cloak id="jscompanymessage">
	<div style="margin-top: 10px;">
		<div style="margin-top: 10px;border-bottom:1px solid rgba(200,200,200,0.43);">
			<el-form :model="selectForm" :rules="rules" ref="selectForm" label-width="150px">
				<el-row>
					<el-col :span="6">
						<el-form-item label="单位名称:" prop="" label-width="110px">
							<el-input v-model="selectForm.unitName" placeholder="" stype=""></el-input>
						</el-form-item>
					</el-col>
					<el-col span="7">
						<el-form-item label="统一社会信用代码:" label-width="180px">
							<el-row>
								<el-form-item prop="">
									<el-input v-model="selectForm.uniscid" placeholder="" style="width:250px;"></el-input>
								</el-form-item>
							</el-row>
						</el-form-item>
					</el-col>
                    <el-col :span="11">
                        <el-form-item label="审定时间:" label-width="120px">
                            <el-row>
                                <el-col span="6" style="width: 180px;">
                                    <el-form-item prop="startTime">
                                        <el-date-picker
                                                v-model="selectForm.startTime"
                                                type="date"
                                                value-format="yyyy-MM-dd"
                                                placeholder="选择开始时间"
                                                style="width: 180px;">
                                        </el-date-picker>
                                    </el-form-item>
                                </el-col>
                                <el-col span="1" style="color: rgb(192, 204, 218);text-align: center;">
                                    <span>—</span>
                                </el-col>
                                <el-col :span="5" style="">
                                    <el-form-item prop="endTime">
                                        <el-date-picker
                                                v-model="selectForm.endTime"
                                                type="date"
                                                value-format="yyyy-MM-dd"
                                                placeholder="选择结束时间"
                                                style="width: 180px;">
                                        </el-date-picker>
                                    </el-form-item>
                                </el-col>
                            </el-row>
                        </el-form-item>
                    </el-col>
				</el-row>
				<el-row>
					<el-col :span="6">
						<el-form-item label="审定人:" prop="" label-width="110px">
							<el-input v-model="selectForm.spPerson" placeholder="" ></el-input>
						</el-form-item>
					</el-col>
					<el-col :span="7">
						<el-form-item label="审定状态:" prop="" label-width="180px">
							<el-select v-model="selectForm.spStatus" placeholder="请选择审定状态" style="width:250px;">
								<el-option label="待审定" value="1"></el-option>
								<el-option label="审定不通过" value="2"></el-option>
								<el-option label="审定通过" value="3"></el-option>
							</el-select>
						</el-form-item>
					</el-col>
					<el-col :span="6">
						<el-form-item label="上报状态:" prop="" label-width="120px">
							<el-select v-model="selectForm.sbStatus" placeholder="请选择上报状态" style="width: 180px;">
								<el-option label="未上报" value="0"></el-option>
								<el-option label="已上报" value="1"></el-option>
							</el-select>
						</el-form-item>
					</el-col>
					<div style="float: right;">

						<el-button v-if="isButt && orgName != '中国地震局' " type="primary" size="small" style="width: 60px;height: 30px;" @click="apply()">申请</el-button>
						<el-button type="primary" size="small" style="width: 60px;height: 30px;" @click="searchForm('selectForm')">查询</el-button>
						<el-button type="warning" size="small" style="width: 60px;height: 30px;" @click="resetForm('selectForm')">重置</el-button>
					</div>
				</el-row>
			</el-form>
		</div>

		<el-table :data="tableData" border style="width: 100%;margin-top: 35px;" :header-cell-style="{background:'#eef1f6',color:'#606266'}">
			<!--<el-table-column type="selection" ></el-table-column>-->
			<el-table-column
					prop="unitName"
					label="单位名称"
					width="230"
                    :show-overflow-tooltip="true"
					align="center" >
			</el-table-column>
			<el-table-column
					prop="uniscid"
					label="统一社会信用代码"
					width="180"
					align="center">
			</el-table-column>
			<el-table-column
					prop="registAddr"
					label="注册地址"
					width="160"
                    :show-overflow-tooltip="true"
					align="center">
			</el-table-column>
			<el-table-column
					prop="spPerson"
					label="审定人"
					width="120"
					align="center">
			</el-table-column>
			<el-table-column
					prop="spOrg"
					label="审定机构"
					width="150"
					align="center">
			</el-table-column>
			<el-table-column
					prop="spStatus"
					label="审定状态"
					width="100"
					align="center">
				<template scope="scope">
					<span v-if="scope.row.spStatus==1" style="color:#F19437;">待审定</span>
					<span v-if="scope.row.spStatus==2" style="color:#FF4949;">审定不通过</span>
					<span v-if="scope.row.spStatus==3" style="color: #67C23A;">审定通过</span>
				</template>
			</el-table-column>
			<el-table-column
					prop="spTime"
					label="审定时间"
					width="100"
					align="center">
			</el-table-column>
			<el-table-column
					prop="sbStatus"
					label="上报状态"
					width="90"
                    align="center">
				<template scope="scope">
					<span v-if="scope.row.sbStatus==0" style="color:#F19437;">未上报</span>
					<span v-if="scope.row.sbStatus==1" style="color: #67C23A;">已上报</span>
				</template>
			</el-table-column>
			<el-table-column
					prop="unitRegistTime"
					label="单位成立时间"
					width="110"
					align="center">
			</el-table-column>
			<el-table-column
					label="操作"
					width=""
					align="center">
				<template slot-scope="scope">
					<el-button type="" size="mini" @click="view(scope.$index,scope.row)">查看</el-button>
                    <!-- 审定 -->
					<el-button v-if="scope.row.spStatus == 1 && hasApprovalBtn && isButt" type="success" size="mini" @click="approval(scope.$index,scope.row)">审定</el-button>
                    <el-button v-if="scope.row.spStatus != 1 && hasApprovalBtn && isButt" type="success" size="mini" @click="approval(scope.$index,scope.row)" disabled>审定</el-button>

                    <!-- 上报 -->
					<el-button v-if=" scope.row.spStatus == 3 && scope.row.sbStatus == 0 && hasApprovalBtn && isButt" type="warning" size="mini" @click="onShangbao(scope.$index,scope.row)">上报</el-button>

                    <el-button v-if=" scope.row.spStatus != 3 || scope.row.sbStatus != 0 && hasApprovalBtn && isButt" type="warning" size="mini" @click="onShangbao(scope.$index,scope.row)" disabled>上报</el-button>

					<el-button v-if="scope.row.spStatus != 3 && hasApprovalBtn && isButt" type="danger" size="mini" @click="del(scope.$index,scope.row)">删除</el-button>
                    <el-button v-if="scope.row.spStatus == 3 && hasApprovalBtn && isButt" type="danger" size="mini" @click="del(scope.$index,scope.row)" disabled>删除</el-button>
				</template>
			</el-table-column>
		</el-table>
		<div style="overflow: hidden;">
			<div class="pagination">
				<el-pagination
					@size-change="handleSizeChange"
					@current-change="handleCurrentChange"
					:current-page="currentPage"
					:page-sizes="[10, 20, 30, 40]"
					:page-size="pagesize"
					background
					layout="total, sizes,prev, pager, next"
					:total="tableTotal"
					prev-text="上一页"
					next-text="下一页">
				</el-pagination>
			</div>
		</div>

		<el-dialog title="" :visible.sync="dialogForm" center fullscreen>
			<div style="margin-top: 10px;"　class="zcform">
                <el-form :model="apUnitEntity" :rules="rules" ref="apUnitEntity"  style="width:80%;font-size: 14px;border: 1px solid #DCDFE6;margin: 10px auto;">
                    <!--第一行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">单位名称</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="unitName">
                                <el-input v-model="apUnitEntity.unitName" style="" placeholder="" ></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第二行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">主体身份代码</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="pripId">
                                <el-input v-model="apUnitEntity.pripId" style="" placeholder="请填写社会统一信用代码" ></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">行业类别</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="industryCategory">
                                <el-select  v-model="apUnitEntity.industryCategory" placeholder="请选择" ref="industryCategory"   style="width: 100%;">
                                    <el-option  style="height: auto">
                                        <el-tree :data="hangyetypeLIst"
                                                 ref="tree"
                                                 @check-change="handleCheckChangehangye"
                                                 show-checkbox
                                                 :default-expand-all="true"
                                                 :check-strictly="true"
                                                 :default-checked-keys="[7420]"
                                                 node-key="id"></el-tree>
                                    </el-option>
                                </el-select>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">组织类别</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="organizationClass">
                                <el-select  v-model="apUnitEntity.organizationClass" placeholder="请选择" ref="organizationClass"    style="width: 100%;">
                                    <el-option  style="height: auto">
                                        <el-tree :data="orgTypeList"
                                                 ref="tree"
                                                 @check-change="handleCheckChange"
                                                 show-checkbox
                                                 :default-expand-all="true"
                                                 :check-strictly="true"
                                                 node-key="id"></el-tree>
                                    </el-option>
                                </el-select>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">国民经济类型</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="nationalEconomy">
                                <el-select  v-model="apUnitEntity.nationalEconomy" placeholder="请选择国民经济类型" ref="nationalEconomy"    style="width: 100%;">
                                    <el-option  style="height: auto">
                                        <el-tree :data="jinjilist"
                                                 ref="tree"
                                                 @check-change="handleCheckChangejinji"
                                                 show-checkbox
                                                 :default-expand-all="true"
                                                 :check-strictly="true"
                                                 node-key="id"></el-tree>
                                    </el-option>
                                </el-select>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">注册号</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="regNo">
                                <el-input v-model="apUnitEntity.regNo" style="" placeholder="" ></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">企业类型</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="entType">
                                <el-input v-model="apUnitEntity.entType" style="" placeholder="" ></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">企业类型(中文名称)</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="entTypeCn">
                                <el-input v-model="apUnitEntity.entTypeCn" style="" placeholder="" ></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第二行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">单位性质</span>
                        </el-col>
                        <el-col :span="4"  style="width: 75%;">
                            <el-form-item prop="">
                                <el-select  v-model="apUnitEntity.syUnitType" placeholder="请选择" ref="syUnitType"   @change="syChangeValue" style="width: 50%;">
                                    <el-option label="事业" value="事业"></el-option>
                                    <el-option label="企业" value="企业"></el-option>
                                </el-select>

                                <el-select  v-model="apUnitEntity.qyUnitType" placeholder="请选择" ref="qyUnitType"  @change="qyChangeValue" style="width: 50%;margin: -4.2px;">
                                    <el-option
                                            v-for="item in apUnitlist"
                                            :key="item.code"
                                            :label="item.name"
                                            :value="item.name"
                                    >
                                    </el-option>
                                </el-select>
                            </el-form-item>
                        </el-col>
                        <!--<el-col :span="2" class="tab" style="width: 70px;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">事业</span>
                        </el-col>-->

                        <!--<el-col :span="4"  style="width: 180px;text-align: center;height: 28px;line-height: 28px;">
                            <el-row>
                                <el-form-item prop="syUnitType">
                                    <el-select  v-model="apUnitEntity.syUnitType" placeholder="请选择" ref="syUnitType" :disabled="sydisabled!=0"  @change="syChangeValue" style="width: 180px;">
                                        <el-option label="请选择" value=""></el-option>
                                        <el-option label="全额拨款" value="全额拨款"></el-option>
                                        <el-option label="差额拨款" value="差额拨款"></el-option>
                                        <el-option label="自收自支" value="自收自支"></el-option>
                                        <el-option label="其他" value="其他"></el-option>
                                    </el-select>
                                </el-form-item>
                            </el-row>-->
                        <!--<el-row class="tab">
                            <el-radio v-model="apUnitEntity.syUnitType" label="1">全额拨款</el-radio>
                        </el-row>
                        <el-row class="tab">
                            <el-radio v-model="apUnitEntity.syUnitType" label="2">差额拨款</el-radio>
                        </el-row>
                        <el-row class="tab">
                            <el-radio v-model="apUnitEntity.syUnitType" label="3">自收自支</el-radio>
                        </el-row>
                        <el-row class="tab" style="letter-spacing: 3px;">
                            <el-radio v-model="apUnitEntity.syUnitType" label="4">其&nbsp;&nbsp;&nbsp;他</el-radio>
                        </el-row>-->
                        <!--</el-col>

                        <el-col :span="2" class="tab" style="width: 70px;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">企业</span>
                        </el-col>

                        <el-col :span="4"  style="width: 180px;text-align: center;height: 28px;line-height: 28px;">
                            <el-row >
                                <el-form-item prop="qyUnitType">
                                    <el-select  v-model="apUnitEntity.qyUnitType" placeholder="请选择" ref="qyUnitType" :disabled="qydisabled!=0" @change="qyChangeValue" style="width: 240px;">
                                        <el-option label="请选择" value=""></el-option>
                                        <el-option label="国有企业" value="国有企业"></el-option>
                                        <el-option label="集体企业" value="集体企业"></el-option>
                                        <el-option label="私营企业" value="私营企业"></el-option>
                                        <el-option label="其他" value="其他"></el-option>
                                    </el-select>
                                </el-form-item>
                            </el-row>-->
                        <!--<el-row class="tab">
                            <el-radio v-model="apUnitEntity.qyUnitType" label="5">国有企业</el-radio>
                        </el-row>
                        <el-row class="tab">
                            <el-radio v-model="apUnitEntity.qyUnitType" label="6">集体企业</el-radio>
                        </el-row>
                        <el-row class="tab">
                            <el-radio v-model="apUnitEntity.qyUnitType" label="7">私营企业</el-radio>
                        </el-row>
                        <el-row class="tab" style="letter-spacing: 3px;">
                            <el-radio v-model="apUnitEntity.qyUnitType" label="8">其&nbsp;&nbsp;&nbsp;他</el-radio>
                        </el-row>-->
                        <!--</el-col>-->
                    </el-row>
                    <!--第三行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">注册地址</span>
                        </el-col>
                        <el-col :span="10" style="width: 45%;">
                            <el-col :span="5">
                                <el-form-item prop="provinceValue" >
                                    <!--<el-input v-model="apUnitEntity.registAddr" style="width: 320px;" placeholder="" ></el-input>-->
                                    <el-select v-model="apUnitEntity.provinceValue" :title="provinceValue" placeholder="选择省" @change="chooseProvince">
                                        <el-option
                                                v-for="item in provinceData"
                                                :key="item.code"
                                                :label="item.name"
                                                :value="item.name"
                                        >
                                        </el-option>
                                    </el-select>
                                </el-form-item>
                            </el-col>
                            <el-col :span="5">
                                <el-form-item prop="cityValue" >
                                    <el-select v-model="apUnitEntity.cityValue" :title="cityValue" placeholder="选择市" @change="chooseCity">
                                        <el-option
                                                v-for="item in cityData"
                                                :key="item.code"
                                                :label="item.name"
                                                :value="item.name"
                                        >
                                        </el-option>
                                    </el-select>
                                </el-form-item>
                            </el-col>
                            <el-col :span="5">
                                <el-form-item prop="areaValue" >
                                    <el-select v-model="apUnitEntity.areaValue" :title="areaValue" @change="chooseArea" placeholder="选择区、县">
                                        <el-option
                                                v-for="item in areaData"
                                                :key="item.code"
                                                :label="item.name"
                                                :value="item.name"
                                                style="width: 170px;">
                                        </el-option>
                                    </el-select>
                                </el-form-item>
                            </el-col>
                            <el-col :span="9">
                                <el-form-item>
                                    <el-input v-model="apUnitEntity.detailAddress" placeholder="填写详细地址"></el-input>
                                </el-form-item>
                            </el-col>
                        </el-col>
                        <el-col :span="2" class="tab" style="width: 10%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">邮编</span>
                        </el-col>
                        <el-col :span="4" style="width: 20%;">
                            <el-form-item prop="registAddrCode">
                                <el-input v-model="apUnitEntity.registAddrCode"  placeholder="" ></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第四行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">办公地址</span>
                        </el-col>
                        <el-col :span="10" style="width: 45%">
                            <el-form-item prop="bgAddr">
                                <el-input v-model="apUnitEntity.bgAddr"  placeholder="" ></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="2" class="tab" style="width: 10%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">邮编</span>
                        </el-col>
                        <el-col :span="4" style="width: 20%;">
                            <el-form-item prop="bgAddrCode" >
                                <el-input v-model="apUnitEntity.bgAddrCode"  placeholder="" ></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第五行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">法定代表人</span>
                        </el-col>
                        <el-col :span="10" style="width: 45%;">
                            <el-form-item prop="legalMan">
                                <el-input v-model="apUnitEntity.legalMan"  placeholder="" ></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="2" class="tab" style="width: 10%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">电话</span>
                        </el-col>
                        <el-col :span="4" style="width:20%">
                            <el-form-item prop="legalManTel">
                                <el-input v-model="apUnitEntity.legalManTel"  placeholder="" ></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第六行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 10%;text-align: center;height: 60px;line-height: 60px;">
                            <span class="red">*</span>
                            <span class="">联系人</span>
                        </el-col>
                        <el-col :span="2" class="linkMan" style="width: 15%;text-align: center;">
                            <el-form-item prop="linkMan">
                                <el-input v-model="apUnitEntity.linkMan" style="height: 60px;" placeholder="" ></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="2" class="tab" style="width: 10%;text-align: center;height: 60px;line-height: 60px;">
                            <span class="red">*</span>
                            <span class="">联系电话</span>
                        </el-col>

                        <el-col :span="4"  style="width: 35%;text-align: center;height: 28px;line-height: 28px;">
                            <el-row >
                                <el-col :span="2" class="tab" style="width: 30%;text-align: center;height: 30px;line-height: 30px;">
                                    <span class="red">*</span>
                                    <span class="">手机</span>
                                </el-col>
                                <el-col :span="4" style="width: 70%;">
                                    <el-form-item prop="linkTel">
                                        <el-input v-model="apUnitEntity.linkTel"  placeholder="" ></el-input>
                                    </el-form-item>
                                </el-col>
                            </el-row>
                            <el-row>
                                <el-col :span="2" class="tab" style="width: 30%;text-align: center;height: 30px;line-height: 30px;">
                                    <span class="red">*</span>
                                    <span class="">办公室</span>
                                </el-col>
                                <el-col :span="4" style="width: 70%;">
                                    <el-form-item prop="linkOffice">
                                        <el-input v-model="apUnitEntity.linkOffice"  placeholder="" ></el-input>
                                    </el-form-item>
                                </el-col>
                            </el-row>
                        </el-col>

                        <el-col :span="4"  style="width: 30%;text-align: center;height: 28px;line-height: 28px;">
                            <el-row >
                                <el-col :span="2" class="tab" style="width: 33.5%;text-align: center;height: 30px;line-height: 30px;">
                                    <span class="red"></span>
                                    <span class="">传真</span>
                                </el-col>
                                <el-col :span="4" style="width: 66.5%;">
                                    <el-form-item prop="linkFax" >
                                        <el-input v-model="apUnitEntity.linkFax"  placeholder="" ></el-input>
                                    </el-form-item>
                                </el-col>
                            </el-row>
                            <el-row>
                                <el-col :span="2" class="tab" style="width: 33.5%;text-align: center;height: 30px;line-height: 30px;">
                                    <span class="red">*</span>
                                    <span class="">电子邮箱</span>
                                </el-col>
                                <el-col :span="4" style="width: 66.5%;">
                                    <el-form-item prop="linkEmail" >
                                        <el-input v-model="apUnitEntity.linkEmail"  placeholder="" ></el-input>
                                    </el-form-item>
                                </el-col>
                            </el-row>
                        </el-col>
                    </el-row>
                    <!--第七行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red"></span>
                            <span class="">上级主管单位</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="upMainUnit">
                                <el-input v-model="apUnitEntity.upMainUnit"  placeholder="" ></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第八行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">单位成立时间</span>
                        </el-col>
                        <el-col :span="10" style="width: 25%;">
                            <el-form-item prop="establishTime">
                                <el-date-picker type="date" placeholder="选择日期" v-model="apUnitEntity.establishTime" style="width: 100%;"/>
                            </el-form-item>
                        </el-col>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">单位注册时间</span>
                        </el-col>
                        <el-col :span="4" style="width: 25%;">
                            <el-form-item prop="unitRegistTime">
                                <el-date-picker type="date" placeholder="选择日期" v-model="apUnitEntity.unitRegistTime" style="width: 100%;"/>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第九行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">统一社会信用代码</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="uniscid">
                                <el-input v-model="apUnitEntity.uniscid"  placeholder="" ></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第十行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">用户名</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="userName">
                                <el-input v-model="apUnitEntity.userName"  placeholder="" autoComplete="off"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">密码</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="password">
                                <el-input v-model="apUnitEntity.password"  placeholder="" show-password auto-complete="new-password"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第十一行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">注册（开办）资金（万元）</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="registMoney">
                                <el-input v-model="apUnitEntity.registMoney"  placeholder="" ></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第十二行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">专业技术人员</span>
                        </el-col>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">60周岁以下</span>
                        </el-col>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">60周岁以上</span>
                        </el-col>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">合计</span>
                        </el-col>
                    </el-row>
                    <!--第十三行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">高级职称</span>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="highDownsixty">
                                <el-input type="number" v-model.number="apUnitEntity.highDownsixty" :min="0" placeholder="" @change="sum"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="highUpsixty">
                                <el-input type="number" v-model.number="apUnitEntity.highUpsixty" :min="0" placeholder="" @change="sum"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="highSum">
                                <el-input type="number" v-model.number="apUnitEntity.highSum" :min="0" placeholder="" :disabled="true"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第十四行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">中级职称</span>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="midDownsixty">
                                <el-input type="number" v-model.number="apUnitEntity.midDownsixty" :min="0" placeholder="" @change="sum"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="midUpsixty">
                                <el-input type="number" v-model.number="apUnitEntity.midUpsixty" :min="0" placeholder="" @change="sum"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="midSum">
                                <el-input type="number" v-model.number="apUnitEntity.midSum" :min="0" placeholder="" :disabled="true"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第十五行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">初级职称</span>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="priDomnsixty">
                                <el-input type="number" v-model.number="apUnitEntity.priDomnsixty" :min="0" placeholder="" @change="sum"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="priUpsixty">
                                <el-input type="number" v-model.number="apUnitEntity.priUpsixty" :min="0" placeholder="" @change="sum"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="priSum">
                                <el-input type="number" v-model.number="apUnitEntity.priSum" :min="0" placeholder="" :disabled="true"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第十六行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">合计</span>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="sumDownsixty">
                                <el-input type="number" v-model.number="apUnitEntity.sumDownsixty" :min="0" placeholder="" :disabled="true"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="sumUpsixty">
                                <el-input type="number" v-model.number="apUnitEntity.sumUpsixty" :min="0" placeholder="" :disabled="true"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="sum">
                                <el-input type="number" v-model.number="apUnitEntity.sum" :min="0" placeholder="" :disabled="true"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第十七行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 390px;">
                            <div style="margin-top: 190px;">
                                <span class="">具有承担地震安全性评价相关专业背景的高级职称专业技术人员情况</span>
                            </div>
                        </el-col>
                        <el-col :span="2"  style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <el-row >
                                <el-col :span="2" class="tab" style="width: 100%;text-align: center;height: 30px;line-height: 30px;">
                                    <span class="">专业</span>
                                </el-col>
                            </el-row>
                            <el-row>
                                <el-col :span="2" class="tab" style="width: 100%;text-align: center;height: 120px;line-height: 120px;">
                                    <span class="">地震学</span>
                                </el-col>
                            </el-row>
                            <el-row>
                                <el-col :span="2" class="tab" style="width: 100%;text-align: center;height: 120px;line-height: 120px;">
                                    <span class="">地震地质学</span>
                                </el-col>
                            </el-row>
                            <el-row>
                                <el-col :span="2" class="tab" style="width: 100%;text-align: center;height: 120px;line-height: 120px;">
                                    <span class="">地震工程学</span>
                                </el-col>
                            </el-row>
                        </el-col>
                        <el-col :span="2"  style="width: 50%;text-align: center;height: 30px;line-height: 30px;">
                            <el-row >
                                <el-col :span="2" class="tab" style="width: 100%;text-align: center;height: 30px;line-height: 30px;">
                                    <span class="">高级职称人员姓名</span>
                                </el-col>
                            </el-row>
                            <el-row>
                                <el-col :span="2"  style="width: 100%;text-align: center;height: 120px;">
                                    <el-form-item prop="dzxHigh">
                                        <el-input
                                                type="textarea"
                                                resize="none"
                                                placeholder=""
                                                v-model="apUnitEntity.dzxHigh">
                                        </el-input>
                                    </el-form-item>
                                </el-col>
                            </el-row>
                            <el-row>
                                <el-col :span="2"  style="width: 100%;text-align: center;height: 120px;line-height: 120px;">
                                    <el-form-item prop="dzdzxHigh">
                                        <el-input
                                                type="textarea"
                                                resize="none"
                                                placeholder=""
                                                v-model="apUnitEntity.dzdzxHigh">
                                        </el-input>
                                    </el-form-item>
                                </el-col>
                            </el-row>
                            <el-row>
                                <el-col :span="2"  style="width: 100%;text-align: center;height: 120px;line-height: 120px;">
                                    <el-form-item prop="dzgcxHigh">
                                        <el-input
                                                type="textarea"
                                                resize="none"
                                                placeholder=""
                                                v-model="apUnitEntity.dzgcxHigh">
                                        </el-input>
                                    </el-form-item>
                                </el-col>
                            </el-row>
                        </el-col>
                    </el-row>
                    <!--第十八行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">住所</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="dom">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.dom">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">营业场所/主要经营场所/经营场所</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="opLoc">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.opLoc">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">经营期限自/营业期限自/合伙期限自</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="opFrom">
                                <el-date-picker type="date" placeholder="选择日期" v-model="apUnitEntity.opFrom" style="width: 100%;"/>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">经营期限至/营业期限至/合伙期限至</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="opTo">
                                <el-date-picker type="date" placeholder="选择日期" v-model="apUnitEntity.opTo" style="width: 100%;"/>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">经营范围</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="opScope">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.opScope">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">业务范围类型</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="opScoType">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.opScoType">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">业务范围类型（中文名称）</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="opScoTypeCn">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.opScoTypeCn">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">登记机关</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="regOrg">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.regOrg">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">登记机关（中文名称）</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="regOrgCn">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.regOrgCn">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">登记状态</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="regState">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.regState">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">登记状态（中文名称）</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="regStateCn">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.regStateCn">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">核准日期</span>
                        </el-col>
                        <el-col :span="10" style="width: 25%;">
                            <el-form-item prop="apprDate">
                                <el-date-picker type="date" placeholder="选择日期" v-model="apUnitEntity.apprDate" style="width: 100%;"/>
                            </el-form-item>
                        </el-col>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">吊销时间</span>
                        </el-col>
                        <el-col :span="4" style="width: 25%;">
                            <el-form-item prop="revDate">
                                <el-date-picker type="date" placeholder="选择日期" v-model="apUnitEntity.revDate" style="width: 100%;"/>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">联络员身份证号码</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="linkmanCerNo">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.linkmanCerNo">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">经营地址经度</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="operatingLongitude">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.operatingLongitude">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">经营地址纬度</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="operatingLatitude">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.operatingLatitude">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 120px;">
                            <div style="margin-top: 50px;">
                                <span class="">吊销原因</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="sugRevReason">
                                <el-input
                                        type="textarea"
                                        resize="none"
                                        placeholder=""
                                        v-model="apUnitEntity.sugRevReason">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 120px;">
                            <div style="margin-top: 50px;">
                                <span class="red" >*</span>
                                <span class="">开展地震安全性评价工作业绩情况</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="apYjqk">
                                <el-input
                                        type="textarea"
                                        resize="none"
                                        placeholder=""
                                        v-model="apUnitEntity.apYjqk">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第十九行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 120px;">
                            <div style="margin-top: 40px;">
                                <span class="red">*</span>
                                <span class="">具有承担地震安全性评价工作技术能力情况</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="apJsnlqk">
                                <el-input
                                        type="textarea"
                                        resize="none"
                                        placeholder=""
                                        v-model="apUnitEntity.apJsnlqk">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第二十行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 120px;">
                            <div style="margin-top: 50px;">
                                <span class="red">*</span>
                                <span class="">质量管理体系情况</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="zlglTxqk">
                                <el-input
                                        type="textarea"
                                        resize="none"
                                        placeholder=""
                                        v-model="apUnitEntity.zlglTxqk">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                </el-form>
				<el-row>
					<el-col :span="24" style="text-align: center; margin-top: 30px;">
						<div style="">
							<el-button type="primary" size="small" style="width: 60px;height: 30px;" @click="submitForm('apUnitEntity')">提交</el-button>
							<el-button type="warning" size="small" style="width: 60px;height: 30px;" @click="resetApForm('apUnitEntity')">重置</el-button>
							<el-button type="info" size="small" style="width: 60px;height: 30px;" @click="dialogForm = false;">关闭</el-button>
						</div>
					</el-col>
				</el-row>
			</div>
		</el-dialog>

		<el-dialog title="" :visible.sync="dialogShenPiForm" :rules="sprules" center fullscreen>
			<div style="margin-top: 10px;"　class="zcform">
				<h3 style="text-align: center;">地震安全性评价单位信息情况表</h3>
				<el-form :model="apUnitEntity" :rules="shenpirules" ref="apUnitEntity"  style="width:80%;font-size: 14px;border: 1px solid #DCDFE6;margin: 10px auto;">
                    <!--第一行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">单位名称</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="unitName">
                                <el-input v-model="apUnitEntity.unitName" style="" placeholder="" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第二行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">主体身份代码</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="pripId">
                                <el-input v-model="apUnitEntity.pripId" style="" placeholder="请填写社会统一信用代码" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">行业类别</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="industryCategory">
                                <el-select  v-model="apUnitEntity.industryCategory" placeholder="请选择" ref="industryCategory" :disabled="formDisabled"   style="width: 100%;">
                                    <el-option  style="height: auto">
                                        <el-tree :data="hangyetypeLIst"
                                                 ref="tree"
                                                 @check-change="handleCheckChangehangye"
                                                 show-checkbox
                                                 :default-expand-all="true"
                                                 :check-strictly="true"
                                                 :default-checked-keys="[7420]"
                                                 node-key="id"></el-tree>
                                    </el-option>
                                </el-select>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">组织类别</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="organizationClass">
                                <el-select  v-model="apUnitEntity.organizationClass" placeholder="请选择" ref="organizationClass"  :disabled="formDisabled"  style="width: 100%;">
                                    <el-option  style="height: auto">
                                        <el-tree :data="orgTypeList"
                                                 ref="tree"
                                                 @check-change="handleCheckChange"
                                                 show-checkbox
                                                 :default-expand-all="true"
                                                 :check-strictly="true"
                                                 node-key="id"></el-tree>
                                    </el-option>
                                </el-select>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">国民经济类型</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="nationalEconomy">
                                <el-select  v-model="apUnitEntity.nationalEconomy" placeholder="请选择国民经济类型" ref="nationalEconomy"  :disabled="formDisabled"  style="width: 100%;">
                                    <el-option  style="height: auto">
                                        <el-tree :data="jinjilist"
                                                 ref="tree"
                                                 @check-change="handleCheckChangejinji"
                                                 show-checkbox
                                                 :default-expand-all="true"
                                                 :check-strictly="true"
                                                 node-key="id"></el-tree>
                                    </el-option>
                                </el-select>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">注册号</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="regNo">
                                <el-input v-model="apUnitEntity.regNo" style="" placeholder="" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">企业类型</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="entType">
                                <el-input v-model="apUnitEntity.entType" style="" placeholder="" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">企业类型(中文名称)</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="entTypeCn">
                                <el-input v-model="apUnitEntity.entTypeCn" style="" placeholder="" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第二行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">单位性质</span>
                        </el-col>
                        <el-col :span="4"  style="width: 75%;">
                            <el-form-item prop="">
                                <el-select  v-model="apUnitEntity.syUnitType" placeholder="请选择" ref="syUnitType"   @change="syChangeValue" :disabled="formDisabled" style="width: 50%;">
                                    <el-option label="事业" value="事业"></el-option>
                                    <el-option label="企业" value="企业"></el-option>
                                </el-select>

                                <el-select  v-model="apUnitEntity.qyUnitType" placeholder="请选择" ref="qyUnitType"  @change="qyChangeValue"  :disabled="formDisabled"style="width: 50%;margin: -4.2px;">
                                    <el-option
                                            v-for="item in apUnitlist"
                                            :key="item.code"
                                            :label="item.name"
                                            :value="item.name"
                                    >
                                    </el-option>
                                </el-select>
                            </el-form-item>
                        </el-col>
                        <!--<el-col :span="2" class="tab" style="width: 70px;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">事业</span>
                        </el-col>-->

                        <!--<el-col :span="4"  style="width: 180px;text-align: center;height: 28px;line-height: 28px;">
                            <el-row>
                                <el-form-item prop="syUnitType">
                                    <el-select  v-model="apUnitEntity.syUnitType" placeholder="请选择" ref="syUnitType" :disabled="sydisabled!=0"  @change="syChangeValue" style="width: 180px;">
                                        <el-option label="请选择" value=""></el-option>
                                        <el-option label="全额拨款" value="全额拨款"></el-option>
                                        <el-option label="差额拨款" value="差额拨款"></el-option>
                                        <el-option label="自收自支" value="自收自支"></el-option>
                                        <el-option label="其他" value="其他"></el-option>
                                    </el-select>
                                </el-form-item>
                            </el-row>-->
                        <!--<el-row class="tab">
                            <el-radio v-model="apUnitEntity.syUnitType" label="1">全额拨款</el-radio>
                        </el-row>
                        <el-row class="tab">
                            <el-radio v-model="apUnitEntity.syUnitType" label="2">差额拨款</el-radio>
                        </el-row>
                        <el-row class="tab">
                            <el-radio v-model="apUnitEntity.syUnitType" label="3">自收自支</el-radio>
                        </el-row>
                        <el-row class="tab" style="letter-spacing: 3px;">
                            <el-radio v-model="apUnitEntity.syUnitType" label="4">其&nbsp;&nbsp;&nbsp;他</el-radio>
                        </el-row>-->
                        <!--</el-col>

                        <el-col :span="2" class="tab" style="width: 70px;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">企业</span>
                        </el-col>

                        <el-col :span="4"  style="width: 180px;text-align: center;height: 28px;line-height: 28px;">
                            <el-row >
                                <el-form-item prop="qyUnitType">
                                    <el-select  v-model="apUnitEntity.qyUnitType" placeholder="请选择" ref="qyUnitType" :disabled="qydisabled!=0" @change="qyChangeValue" style="width: 240px;">
                                        <el-option label="请选择" value=""></el-option>
                                        <el-option label="国有企业" value="国有企业"></el-option>
                                        <el-option label="集体企业" value="集体企业"></el-option>
                                        <el-option label="私营企业" value="私营企业"></el-option>
                                        <el-option label="其他" value="其他"></el-option>
                                    </el-select>
                                </el-form-item>
                            </el-row>-->
                        <!--<el-row class="tab">
                            <el-radio v-model="apUnitEntity.qyUnitType" label="5">国有企业</el-radio>
                        </el-row>
                        <el-row class="tab">
                            <el-radio v-model="apUnitEntity.qyUnitType" label="6">集体企业</el-radio>
                        </el-row>
                        <el-row class="tab">
                            <el-radio v-model="apUnitEntity.qyUnitType" label="7">私营企业</el-radio>
                        </el-row>
                        <el-row class="tab" style="letter-spacing: 3px;">
                            <el-radio v-model="apUnitEntity.qyUnitType" label="8">其&nbsp;&nbsp;&nbsp;他</el-radio>
                        </el-row>-->
                        <!--</el-col>-->
                    </el-row>
                    <!--第三行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">注册地址</span>
                        </el-col>
                        <el-col :span="7" style="width: 45%;">
                            <el-col :span="5">
                                <el-form-item prop="provinceValue" >
                                    <!--<el-input v-model="apUnitEntity.registAddr" style="width: 320px;" placeholder="" ></el-input>-->
                                    <el-select v-model="apUnitEntity.provinceValue" :title="provinceValue" placeholder="选择省" @change="chooseProvince" :disabled="formDisabled">
                                        <el-option
                                                v-for="item in provinceData"
                                                :key="item.code"
                                                :label="item.name"
                                                :value="item.name">
                                        </el-option>
                                    </el-select>
                                </el-form-item>
                            </el-col>
                            <el-col :span="5">
                                <el-form-item prop="cityValue" >
                                    <el-select v-model="apUnitEntity.cityValue" :title="cityValue" placeholder="选择市" @change="chooseCity" :disabled="formDisabled">
                                        <el-option
                                                v-for="item in cityData"
                                                :key="item.code"
                                                :label="item.name"
                                                :value="item.name">
                                        </el-option>
                                    </el-select>
                                </el-form-item>
                            </el-col>
                            <el-col :span="5">
                                <el-form-item prop="areaValue" >
                                    <el-select v-model="apUnitEntity.areaValue" :title="areaValue" @change="chooseArea" placeholder="选择区、县" :disabled="formDisabled">
                                        <el-option
                                                v-for="item in areaData"
                                                :key="item.code"
                                                :label="item.name"
                                                :value="item.name"
                                                style="width: 170px;">
                                        </el-option>
                                    </el-select>
                                </el-form-item>
                            </el-col>
                            <el-col :span="9">
                                <el-form-item>
                                    <el-input v-model="apUnitEntity.detailAddress" placeholder="填写详细地址" :disabled="formDisabled"></el-input>
                                </el-form-item>
                            </el-col>
                        </el-col>
                        <el-col :span="2" class="tab" style="width: 10%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">邮编</span>
                        </el-col>
                        <el-col :span="4" style="width: 20%;">
                            <el-form-item prop="registAddrCode">
                                <el-input v-model="apUnitEntity.registAddrCode"  placeholder="" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第四行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">办公地址</span>
                        </el-col>
                        <el-col :span="10" style="width: 45%">
                            <el-form-item prop="bgAddr">
                                <el-input v-model="apUnitEntity.bgAddr"  placeholder="" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="2" class="tab" style="width: 10%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">邮编</span>
                        </el-col>
                        <el-col :span="4" style="width: 20%;">
                            <el-form-item prop="bgAddrCode" >
                                <el-input v-model="apUnitEntity.bgAddrCode"  placeholder="" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第五行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">法定代表人</span>
                        </el-col>
                        <el-col :span="10" style="width: 45%;">
                            <el-form-item prop="legalMan">
                                <el-input v-model="apUnitEntity.legalMan"  placeholder="" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="2" class="tab" style="width: 10%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">电话</span>
                        </el-col>
                        <el-col :span="4" style="width:20%">
                            <el-form-item prop="legalManTel">
                                <el-input v-model="apUnitEntity.legalManTel"  placeholder="" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第六行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 10%;text-align: center;height: 60px;line-height: 60px;">
                            <span class="red">*</span>
                            <span class="">联系人</span>
                        </el-col>
                        <el-col :span="2" class="linkMan" style="width: 15%;text-align: center;">
                            <el-form-item prop="linkMan">
                                <el-input v-model="apUnitEntity.linkMan" style="height: 60px;" placeholder="" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="2" class="tab" style="width: 10%;text-align: center;height: 60px;line-height: 60px;">
                            <span class="red">*</span>
                            <span class="">联系电话</span>
                        </el-col>

                        <el-col :span="4"  style="width: 35%;text-align: center;height: 28px;line-height: 28px;">
                            <el-row >
                                <el-col :span="2" class="tab" style="width: 30%;text-align: center;height: 30px;line-height: 30px;">
                                    <span class="red">*</span>
                                    <span class="">手机</span>
                                </el-col>
                                <el-col :span="4" style="width: 70%;">
                                    <el-form-item prop="linkTel">
                                        <el-input v-model="apUnitEntity.linkTel"  placeholder="" :disabled="formDisabled"></el-input>
                                    </el-form-item>
                                </el-col>
                            </el-row>
                            <el-row>
                                <el-col :span="2" class="tab" style="width: 30%;text-align: center;height: 30px;line-height: 30px;">
                                    <span class="red">*</span>
                                    <span class="">办公室</span>
                                </el-col>
                                <el-col :span="4" style="width: 70%;">
                                    <el-form-item prop="linkOffice">
                                        <el-input v-model="apUnitEntity.linkOffice"  placeholder="" :disabled="formDisabled"></el-input>
                                    </el-form-item>
                                </el-col>
                            </el-row>
                        </el-col>

                        <el-col :span="4"  style="width: 30%;text-align: center;height: 28px;line-height: 28px;">
                            <el-row >
                                <el-col :span="2" class="tab" style="width: 33.5%;text-align: center;height: 30px;line-height: 30px;">
                                    <span class="red"></span>
                                    <span class="">传真</span>
                                </el-col>
                                <el-col :span="4" style="width: 66.5%;">
                                    <el-form-item prop="linkFax" >
                                        <el-input v-model="apUnitEntity.linkFax"  placeholder="" :disabled="formDisabled"></el-input>
                                    </el-form-item>
                                </el-col>
                            </el-row>
                            <el-row>
                                <el-col :span="2" class="tab" style="width: 33.5%;text-align: center;height: 30px;line-height: 30px;">
                                    <span class="red">*</span>
                                    <span class="">电子邮箱</span>
                                </el-col>
                                <el-col :span="4" style="width: 66.5%;">
                                    <el-form-item prop="linkEmail" >
                                        <el-input v-model="apUnitEntity.linkEmail"  placeholder="" :disabled="formDisabled"></el-input>
                                    </el-form-item>
                                </el-col>
                            </el-row>
                        </el-col>
                    </el-row>
                    <!--第七行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red"></span>
                            <span class="">上级主管单位</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="upMainUnit">
                                <el-input v-model="apUnitEntity.upMainUnit"  placeholder="" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第八行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">单位成立时间</span>
                        </el-col>
                        <el-col :span="10" style="width: 25%;">
                            <el-form-item prop="establishTime">
                                <el-date-picker type="date" placeholder="选择日期" v-model="apUnitEntity.establishTime" :disabled="formDisabled" style="width: 100%;"/>
                            </el-form-item>
                        </el-col>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">单位注册时间</span>
                        </el-col>
                        <el-col :span="4" style="width: 25%;">
                            <el-form-item prop="unitRegistTime">
                                <el-date-picker type="date" placeholder="选择日期" v-model="apUnitEntity.unitRegistTime" :disabled="formDisabled" style="width: 100%;"/>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第九行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">统一社会信用代码</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="uniscid">
                                <el-input v-model="apUnitEntity.uniscid"  placeholder="" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第十行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">用户名</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="userName">
                                <el-input v-model="apUnitEntity.userName"  placeholder="" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">密码</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="password">
                                <el-input v-model="apUnitEntity.password"  placeholder="" show-password :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第十一行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">注册（开办）资金（万元）</span>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="registMoney">
                                <el-input v-model="apUnitEntity.registMoney"  placeholder="" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第十二行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">专业技术人员</span>
                        </el-col>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">60周岁以下</span>
                        </el-col>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">60周岁以上</span>
                        </el-col>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">合计</span>
                        </el-col>
                    </el-row>
                    <!--第十三行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">高级职称</span>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="highDownsixty">
                                <el-input type="number" v-model.number="apUnitEntity.highDownsixty"  placeholder="" @change="sum" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="highUpsixty">
                                <el-input type="number" v-model.number="apUnitEntity.highUpsixty"  placeholder="" @change="sum" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="highSum">
                                <el-input type="number" v-model.number="apUnitEntity.highSum" placeholder="" :disabled="true"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第十四行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">中级职称</span>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="midDownsixty">
                                <el-input type="number" v-model.number="apUnitEntity.midDownsixty"  placeholder="" @change="sum" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="midUpsixty">
                                <el-input type="number" v-model.number="apUnitEntity.midUpsixty"  placeholder="" @change="sum" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="midSum">
                                <el-input type="number" v-model.number="apUnitEntity.midSum"  placeholder="" :disabled="true"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第十五行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">初级职称</span>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="priDomnsixty">
                                <el-input type="number" v-model.number="apUnitEntity.priDomnsixty"  placeholder="" @change="sum" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="priUpsixty">
                                <el-input type="number" v-model.number="apUnitEntity.priUpsixty" placeholder="" @change="sum" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="priSum">
                                <el-input type="number" v-model.number="apUnitEntity.priSum"  placeholder="" :disabled="true"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第十六行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="red">*</span>
                            <span class="">合计</span>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="sumDownsixty">
                                <el-input type="number" v-model.number="apUnitEntity.sumDownsixty"  placeholder="" :disabled="true"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="sumUpsixty">
                                <el-input type="number" v-model.number="apUnitEntity.sumUpsixty"  placeholder="" :disabled="true"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="12" style="width: 25%;">
                            <el-form-item prop="sum">
                                <el-input type="number" v-model.number="apUnitEntity.sum"  placeholder="" :disabled="true"></el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第十七行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 390px;">
                            <div style="margin-top: 190px;">
                                <span class="">具有承担地震安全性评价相关专业背景的高级职称专业技术人员情况</span>
                            </div>
                        </el-col>
                        <el-col :span="2"  style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <el-row >
                                <el-col :span="2" class="tab" style="width: 100%;text-align: center;height: 30px;line-height: 30px;">
                                    <span class="">专业</span>
                                </el-col>
                            </el-row>
                            <el-row>
                                <el-col :span="2" class="tab" style="width: 100%;text-align: center;height: 120px;line-height: 120px;">
                                    <span class="">地震学</span>
                                </el-col>
                            </el-row>
                            <el-row>
                                <el-col :span="2" class="tab" style="width: 100%;text-align: center;height: 120px;line-height: 120px;">
                                    <span class="">地震地质学</span>
                                </el-col>
                            </el-row>
                            <el-row>
                                <el-col :span="2" class="tab" style="width: 100%;text-align: center;height: 120px;line-height: 120px;">
                                    <span class="">地震工程学</span>
                                </el-col>
                            </el-row>
                        </el-col>
                        <el-col :span="2"  style="width: 50%;text-align: center;height: 30px;line-height: 30px;">
                            <el-row >
                                <el-col :span="2" class="tab" style="width: 100%;text-align: center;height: 30px;line-height: 30px;">
                                    <span class="">高级职称人员姓名</span>
                                </el-col>
                            </el-row>
                            <el-row>
                                <el-col :span="2"  style="width: 100%;text-align: center;height: 120px;">
                                    <el-form-item prop="dzxHigh">
                                        <el-input
                                                type="textarea"
                                                resize="none"
                                                placeholder=""
                                                v-model="apUnitEntity.dzxHigh"
                                                :disabled="formDisabled">
                                        </el-input>
                                    </el-form-item>
                                </el-col>
                            </el-row>
                            <el-row>
                                <el-col :span="2"  style="width: 100%;text-align: center;height: 120px;line-height: 120px;">
                                    <el-form-item prop="dzdzxHigh">
                                        <el-input
                                                type="textarea"
                                                resize="none"
                                                placeholder=""
                                                v-model="apUnitEntity.dzdzxHigh"
                                                :disabled="formDisabled">
                                        </el-input>
                                    </el-form-item>
                                </el-col>
                            </el-row>
                            <el-row>
                                <el-col :span="2"  style="width: 100%;text-align: center;height: 120px;line-height: 120px;">
                                    <el-form-item prop="dzgcxHigh">
                                        <el-input
                                                type="textarea"
                                                resize="none"
                                                placeholder=""
                                                v-model="apUnitEntity.dzgcxHigh"
                                                :disabled="formDisabled">
                                        </el-input>
                                    </el-form-item>
                                </el-col>
                            </el-row>
                        </el-col>
                    </el-row>
                    <!--第十八行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">住所</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="dom">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.dom" :disabled="formDisabled">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">营业场所/主要经营场所/经营场所</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="opLoc">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.opLoc" :disabled="formDisabled">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">经营期限自/营业期限自/合伙期限自</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="opFrom">
                                <el-date-picker type="date" placeholder="选择日期" v-model="apUnitEntity.opFrom" :disabled="formDisabled" style="width: 100%;"/>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">经营期限至/营业期限至/合伙期限至</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="opTo">
                                <el-date-picker type="date" placeholder="选择日期" v-model="apUnitEntity.opTo" :disabled="formDisabled" style="width: 100%;"/>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">经营范围</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="opScope">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.opScope" :disabled="formDisabled">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">业务范围类型</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="opScoType">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.opScoType" :disabled="formDisabled">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">业务范围类型（中文名称）</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="opScoTypeCn">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.opScoTypeCn" :disabled="formDisabled">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">登记机关</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="regOrg">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.regOrg" :disabled="formDisabled">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">登记机关（中文名称）</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="regOrgCn">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.regOrgCn" :disabled="formDisabled">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">登记状态</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="regState">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.regState" :disabled="formDisabled">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">登记状态（中文名称）</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="regStateCn">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.regStateCn" :disabled="formDisabled">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">核准日期</span>
                        </el-col>
                        <el-col :span="10" style="width: 25%;">
                            <el-form-item prop="apprDate">
                                <el-date-picker type="date" placeholder="选择日期" v-model="apUnitEntity.apprDate" :disabled="formDisabled" style="width: 100%;"/>
                            </el-form-item>
                        </el-col>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <span class="">吊销时间</span>
                        </el-col>
                        <el-col :span="4" style="width: 25%;">
                            <el-form-item prop="revDate">
                                <el-date-picker type="date" placeholder="选择日期" v-model="apUnitEntity.revDate" :disabled="formDisabled" style="width: 100%;"/>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">联络员身份证号码</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="linkmanCerNo">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.linkmanCerNo" :disabled="formDisabled">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">经营地址经度</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="operatingLongitude">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.operatingLongitude" :disabled="formDisabled">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 30px;line-height: 30px;">
                            <div >
                                <span class="">经营地址纬度</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="operatingLatitude">
                                <el-input
                                        placeholder=""
                                        v-model="apUnitEntity.operatingLatitude" :disabled="formDisabled">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 120px;">
                            <div style="margin-top: 50px;">
                                <span class="">吊销原因</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="sugRevReason">
                                <el-input
                                        type="textarea"
                                        resize="none"
                                        placeholder=""
                                        v-model="apUnitEntity.sugRevReason"
                                        :disabled="formDisabled">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 120px;">
                            <div style="margin-top: 50px;">
                                <span class="red" >*</span>
                                <span class="">开展地震安全性评价工作业绩情况</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="apYjqk">
                                <el-input
                                        type="textarea"
                                        resize="none"
                                        placeholder=""
                                        v-model="apUnitEntity.apYjqk"
                                        :disabled="formDisabled">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第十九行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 120px;">
                            <div style="margin-top: 40px;">
                                <span class="red">*</span>
                                <span class="">具有承担地震安全性评价工作技术能力情况</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="apJsnlqk">
                                <el-input
                                        type="textarea"
                                        resize="none"
                                        placeholder=""
                                        v-model="apUnitEntity.apJsnlqk"
                                        :disabled="formDisabled">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>
                    <!--第二十行-->
                    <el-row>
                        <el-col :span="2" class="tab" style="width: 25%;text-align: center;height: 120px;">
                            <div style="margin-top: 50px;">
                                <span class="red">*</span>
                                <span class="">质量管理体系情况</span>
                            </div>
                        </el-col>
                        <el-col :span="12" style="width: 75%;">
                            <el-form-item prop="zlglTxqk">
                                <el-input
                                        type="textarea"
                                        resize="none"
                                        placeholder=""
                                        v-model="apUnitEntity.zlglTxqk"
                                        :disabled="formDisabled">
                                </el-input>
                            </el-form-item>
                        </el-col>
                    </el-row>

					<el-row style="padding-top: 20px;border: 1px solid #DCDFE6;border-bottom: none;" class="zccheck">
						<el-col :span="8">
							<el-form-item label="审 定 人:" prop="spPerson" label-width="120px">
								<el-input v-model="apUnitEntity.spPerson" style="width: 80%;" placeholder="" :disabled="formDisabled"></el-input>
							</el-form-item>
						</el-col>
                        <el-col :span="8">
                            <el-form-item label="审定机构:" prop="spOrg" label-width="120px">
                                <el-input v-model="apUnitEntity.spOrg" style="width: 80%;" placeholder="" :disabled="formDisabled"></el-input>
                            </el-form-item>
                        </el-col>
                        <el-col :span="8">
                            <el-form-item label="审定结果:" prop="checkResult" label-width="120px">
                                <el-select v-model="apUnitEntity.checkResult" placeholder="请选择审定结果" :disabled="showShenPi" style="width: 80%;">
                                    <el-option label="同意" value="1"></el-option>
                                    <el-option label="不同意" value="0"></el-option>
                                </el-select>
                            </el-form-item>
                        </el-col>
					</el-row>
					<el-row style="padding:20px 0;border: 1px solid #DCDFE6;border-top: none;">
                        <el-col :span="23">
                            <el-form-item label="审定意见:" prop="spReview" label-width="120px">
                                <el-input type="textarea"
                                          :autosize="{ minRows: 8, maxRows: 8}"
                                          placeholder=""
                                          v-model="apUnitEntity.spReview" :disabled="showShenPi"></el-input>
                            </el-form-item>
                        </el-col>
					</el-row>
				</el-form>
				<el-row>
					<el-col :span="24" style="text-align: center; margin-top: 30px;">
						<div style="">
							<el-button v-show="showOnSubmit" type="primary" size="small" style="width: 60px;height: 30px;" @click="onShenPi('apUnitEntity')">确定</el-button>
                            <el-button v-show="showOnClose" type="info" size="small" style="width: 60px;height: 30px;" @click="dialogShenPiForm = false;">关闭</el-button>
							<el-button v-show="showOnReplace" type="warning" size="small" style="width: 60px;height: 30px;" @click="resetShenPiForm()">重置</el-button>
						</div>
					</el-col>
				</el-row>
			</div>
		</el-dialog>
	</div>
</div>
<script>
    var vm = new Vue({
        el: '#jscompanymessage',
        data() {
        	// 验证手机号是否合法
            let checkMobile = (rule, value, callback) => {
                if (!this.checkTel(value) && value != '') {
                    callback(new Error('手机号码不合法'));
                } else {
                    callback();
                }
            };
            // 验证邮箱是否合法
            let checkEmail = (rule, value, callback) => {
                if (!this.isEmail(value) && value != '') {
                    callback(new Error('邮箱不合法'));
                } else {
                    callback();
                }
            };
            //验证数值为非负
            let checkNumber= (rule, value, callback)=>{
                if(!this.checkNum(value)){
                    callback(new Error('请输入非负数数值'));
                }else {
                    callback();
                }
            };
            // 验证数值为正整数
            let checkInt = (rule, value, callback)=>{
                if(!this.checkPositiveInt(value)) {
                    callback(new Error('请输入正整数！'));
                } else {
                    callback();
                }
            };
            // 验证用户名是否合法
            let checkUserName = (rule, value, callback) => {
                if(!isUserName(value) && value != '') {
                    callback(new Error('用户名必须为字母、数字或下划线!'));
                } else {
                    callback();
                }
            };
            // 验证密码是否合法
            let checkPassword = (rule, value, callback) => {
                if(!isPassword(value) && value != "") {
                    callback(new Error('密码必须为字母或数字!'));
                } else {
                    callback();
                }
            };
            return {
                isButt:true,
                hasApprovalBtn: false,
                userInfo: '',//用户信息
                currentPage: 1, //默认显示页面为1
                pagesize: 10, // 每页的数据条数
                tableTotal:'',
                sydisabled: 0,
                qydisabled: 0,
                formDisabled: false,
                moveInDisabled: false,
                moveOutDisabled: false,
                apUnitEntity : {
                    unitName:'',
                    syUnitType:'',
                    qyUnitType:'',
                    registAddr:'',
                    registAddrCode:'',
                    bgAddr:'',
                    bgAddrCode:'',
                    legalMan:'',
                    legalManTel:'',
                    linkMan:'',
                    linkTel:'',
                    linkOffice:'',
                    linkFax:'',
                    linkEmail:'',
                    upMainUnit:'',
                    establishTime:'',
                    unitRegistTime:'',
                    uniscid:'',
                    userName:'',
                    password:'',
                    registMoney:'',
                    highDownsixty:0,
                    highUpsixty:0,
                    highSum:0,
                    midDownsixty:0,
                    midUpsixty:0,
                    midSum:0,
                    priDomnsixty:0,
                    priUpsixty:0,
                    priSum:0,
                    sumDownsixty:0,
                    sumUpsixty:0,
                    sum:0,
                    dzxHigh:'',
                    dzdzxHigh:'',
                    dzgcxHigh:'',
                    apYjqk:'',
                    apJsnlqk:'',
                    zlglTxqk:'',
                    provinceValue:'',
                    cityValue:'',
                    areaValue:'',
                    detailAddress: '',
                    pripId: '',
                    regNo: '',
                    entType: '',
                    entTypeCn: '',
                    industryCategory: '地震服务',
                    organizationClass: '',
                    nationalEconomy: '',
                    dom: '',
                    opLoc: '',
                    opFrom: '',
                    opTo: '',
                    opScope: '',
                    opScoType: '',
                    opScoTypeCn: '',
                    regOrg: '',
                    regOrgCn: '',
                    regState: '',
                    regStateCn: '',
                    apprDate: '',
                    revDate: '',
                    sugRevReason: '',
                    linkmanCerNo: '',
                    operatingLongitude: '',
                    operatingLatitude: '',
                    // 审定
                    spPerson: '',
                    spReview: '',
					checkResult: '',
                    spOrg: '',
                    spStatus: '',
                },

                rules: {
                    pripId: [{
                        required: true,
                        message: '  ',
                        trigger: 'blur'
                    }],
                    industryCategory: [{
                        required: true,
                        message: '  ',
                        trigger: 'blur'
                    }],
                    organizationClass: [{
                        required: true,
                        message: '  ',
                        trigger: 'blur'
                    }],
                    nationalEconomy: [{
                        required: true,
                        message: '  ',
                        trigger: 'blur'
                    }],
                    provinceValue: [{
                        required: true,
                        message: '  ',
                        trigger: 'blur'
                    }],
                    cityValue: [{
                        required: true,
                        message: '  ',
                        trigger: 'blur'
                    }],
                    areaValue: [{
                        required: true,
                        message: '  ',
                        trigger: 'blur'
                    }],
                    unitName: [{
                        required: true,
                        //message: '单位名称不能为空',
                        message: '  ',
                        trigger: 'blur'

                    },{
                        max : 128,
                        message : ' ',
                        trigger : 'blur'
                    }],
                    uniscid: [{
                        required:true,
                        // message: '请输入统一社会信用代码',
                        message: '  ',
                        trigger: 'blur'
                    },{
                        max : 200,
                        message : ' ',
                        trigger : 'blur'
                    }],
                    userName: [{
                        required: true,
                        // message: '请输入用户名',
                        message: '  ',
                        trigger: 'blur'
                    },{
                        min : 2,
                        max : 50,
                        message : ' ',
                        trigger : 'blur'
                    },{
                        validator : checkUserName,
                        message : '  ',
                        trigger : 'blur'
                    }],
                    registAddr: [{
                        required: true,
                        // message: '请输入注册地址',
                        message: '  ',
                        trigger: 'blur'
                    },{
                        max : 128,
                        message : ' ',
                        trigger : 'blur'
                    }],
                    registAddrCode: [{
                        required: true,
                        // message: '请输入注册地址邮编',
                        message: '  ',
                        trigger: 'blur'
                    },{
                        min: 6,
                        max: 6,
                        // message: '注册地址邮编不合法',
                        message: '  ',
                        trigger: 'blur'

                    }],
                    bgAddr: [{
                        required: true,
                        // message: '请输入办公地址',
                        message: '  ',
                        trigger: 'blur'
                    },{
                        max : 128,
                        message : ' ',
                        trigger : 'blur'
                    }],
                    bgAddrCode: [{
                        required: true,
                        // message: '请输入办公地址邮编',
                        message: '  ',
                        trigger: 'blur'
                    },{
                        min: 6,
                        max: 6,
                        // message: '办公地址邮编不合法',
                        message: '  ',
                        trigger: 'blur'

                    }],
                    legalMan: [{
                        required: true,
                        // message: '请输入法定代表人',
                        message: '  ',
                        trigger: 'blur'
                    },{
                        max : 100,
                        message : ' ',
                        trigger : 'blur'
                    }],
                    legalManTel: [{
                        required: true,
                        // message: '请输入法定代表人电话',
                        message: '  ',
                        trigger: 'blur'
                    },{
                        validator: checkMobile,
                        // message: '法定代表人电话不合法',
                        message: '  ',
                        trigger: 'blur'
                    },{
                        max : 100,
                        message : ' ',
                        trigger : 'blur'
                    }],
                    linkMan: [{
                        required: true,
                        // message: '请输入联系人',
                        message: '  ',
                        trigger: 'blur'
                    },{
                        max : 200,
                        message : ' ',
                        trigger : 'blur'
                    }],
                    linkTel: [{
                        required: true,
                        // message: '请输入联系人手机号码',
                        message: '  ',
                        trigger: 'blur'
                    },
                        {
                            validator: checkMobile,
                            // message: '联系人手机号码不合法',
                            message: '  ',
                            trigger: 'blur'
                        },{
                            max : 200,
                            message : ' ',
                            trigger : 'blur'
                        }],
                    linkOffice: [{
                        required: true,
                        // message: '请输入办公室电话',
                        message: '  ',
                        trigger: 'blur'
                    },{
                        max : 200,
                        message : ' ',
                        trigger : 'blur'
                    }],
                    linkEmail: [{
                        required: true,
                        // message: '请输入联系人电子邮箱',
                        message: '  ',
                        trigger: 'blur'
                    },{
                        validator: checkEmail,
                        // message: '联系人电子邮箱不合法',
                        trigger: 'blur'
                    },{
                        max : 200,
                        message : ' ',
                        trigger : 'blur'
                    }],
                    registMoney: [{
                        required: true,
                        // message: '请输入注册资金',
                        message: '  ',
                        trigger: 'blur'
                    },{
                        // 验证为非负小数
                        validator: checkNumber,
                        message: '  ',
                        trigger: 'blur'
                    },{
                        max : 100,
                        message : ' ',
                        trigger : 'blur'
                    }],
                    establishTime: [{
                        required: true,
                        // message: '单位成立时间不能为空';
                        message: '  ',
                        trigger: 'blur'
                    }],
                    unitRegistTime: [{
                        required: true,
                        //message: '单位注册时间不能为空';
                        message: '  ',
                        trigger: 'blur'
                    }],
                    apYjqk: [{
                        required: true,
                        // message: "请输入开展地震安全性评价工作业绩情况",
                        message: '  ',
                        trigger: 'blur'
                    },{
                        max : 1000,
                        message : ' ',
                        trigger : 'blur'
                    }],
                    apJsnlqk: [{
                        required: true,
                        // message: "请输入具有承担地震安全性评价工作技术能力情况",
                        message: '  ',
                        trigger: 'blur'
                    },{
                        max : 1000,
                        message : ' ',
                        trigger : 'blur'
                    }],
                    zlglTxqk: [{
                        required: true,
                        // message: "请输入质量管理体系情况",
                        message: '  ',
                        trigger: 'blur'
                    },{
                        max : 1000,
                        message : ' ',
                        trigger : 'blur'
                    }],
                    password: [{
                        required: true,
                        // message: "请输入密码",
                        message: '  ',
                        trigger: 'blur'
                    },{
                        min: 6,
                        message: '  ',
                        trigger: 'blur'
                    },{
                        validator : checkPassword,
                        message : '  ',
                        trigger: 'blur'
                    }],
                    highDownsixty: [{
                        required: true,
                        // message: "请输入60周岁以下高级职称技术人员人数",
                        message: '  ',
                        trigger: 'blur'
                    },{
                        validator: checkInt,
                        message: '  ',
                        trigger: 'blur'
                    }],
                    highUpsixty: [{
                        required: true,
                        // message: "请输入60周岁以下高级职称技术人员人数",
                        message: '  ',
                        trigger: 'blur'
                    },{
                        validator: checkInt,
                        message: '  ',
                        trigger: 'blur'
                    }],
                    highSum: [{
                        required: true,
                        // message: "请输入高级职称技术人员人数",
                        message: '  ',
                        trigger: 'blur'
                    },{
                        validator: checkInt,
                        message: '  ',
                        trigger: 'blur'
                    }],
                    midDownsixty: [{
                        required: true,
                        // message: "请输入60周岁以下中级职称技术人员人数",
                        message: '  ',
                        trigger: 'blur'
                    },{
                        validator: checkInt,
                        message: '  ',
                        trigger: 'blur'
                    }],
                    midUpsixty: [{
                        required: true,
                        // message: "请输入60周岁以上中级职称技术人员人数",
                        message: '  ',
                        trigger: 'blur'
                    },{
                        validator: checkInt,
                        message: '  ',
                        trigger: 'blur'
                    }],
                    midSum: [{
                        required: true,
                        // message: "请输入中级职称技术人员人数",
                        message: '  ',
                        trigger: 'blur'
                    },{
                        validator: checkInt,
                        message: '  ',
                        trigger: 'blur'
                    }],
                    priDomnsixty: [{
                        required: true,
                        // message: "请输入60周岁以下初级职称技术人员人数",
                        message: '  ',
                        trigger: 'blur'
                    },{
                        validator: checkInt,
                        message: '  ',
                        trigger: 'blur'
                    }],
                    priUpsixty: [{
                        required: true,
                        // message: "请输入60周岁以上初级职称技术人员人数",
                        message: '  ',
                        trigger: 'blur'
                    },{
                        validator: checkInt,
                        message: '  ',
                        trigger: 'blur'
                    }],
                    priSum: [{
                        required: true,
                        // message: "请输入初级职称技术人员人数",
                        message: '  ',
                        trigger: 'blur'
                    },{
                        validator: checkInt,
                        message: '  ',
                        trigger: 'blur'
                    }],
                    sumDownsixty: [{
                        required: true,
                        // message: "请输入60周岁以下技术人员人数",
                        message: '  ',
                        trigger: 'blur'
                    },{
                        validator: checkInt,
                        message: '  ',
                        trigger: 'blur'
                    }],
                    sumUpsixty: [{
                        required: true,
                        // message: "请输入60周岁以上技术人员人数",
                        message: '  ',
                        trigger: 'blur'
                    },{
                        validator: checkInt,
                        message: '  ',
                        trigger: 'blur'
                    }],
                    sum: [{
                        required: true,
                        // message: "请输入所有技术人员人数",
                        message: '  ',
                        trigger: 'blur'
                    },{
                        validator: checkInt,
                        message: '  ',
                        trigger: 'blur'
                    }],
                    upMainUnit : [{
                        max : 200,
                        message : '  ',
                        trigger : 'blur'
                    }],
                    dzxHigh: [{
                        max : 1000,
                        message : '  ',
                        trigger : 'blur'
                    }],
                    dzdzxHigh: [{
                        max : 1000,
                        message : '  ',
                        trigger : 'blur'
                    }],
                    dzgcxHigh: [{
                        max : 1000,
                        message : '  ',
                        trigger : 'blur'
                    }],

                },
				shenpirules: {
                    // 审定
                    spPerson: [{
                        required: true,
                        message: "请输入审定人",
                        trigger: 'blur'
                    }],
                    spReview: [{
                        required: true,
                        message: "请输入审定意见",
                        trigger: 'blur'
                    }],
                    spOrg: [{
                        required: true,
                        message: "请输入审定机构",
                        trigger: 'blur'
                    }],
                    checkResult: [{
                        required: true,
                        message: "请输入审定结果",
                        trigger: 'blur'
                    }]
                },
                apTypelist:[{
                    name: "事业",
                    typeList: [{
                        code:'0',
                        name:'全额拨款'
                    },{
                        code:'1',
                        name:'差额拨款'
                    },{
                        code:'2',
                        name:'自收自支'
                    },{
                        code:'3',
                        name:'其他'
                    }]
                },{
                    name: "企业",
                    typeList: [{
                        code:'0',
                        name:'国有企业'
                    },{
                        code:'1',
                        name:'集体企业'
                    },{
                        code:'2',
                        name:'私营企业'
                    },{
                        code:'3',
                        name:'其他'
                    }]
                }],
                dialogFormVisible: false,
                dialogForm: false,
                dialogShenPiForm: false,
                selectForm: {
                    unitName: '',
                    uniscid: '',
                    spPerson: '',
                    spStatus: '',
                    sbStatus: '',
                    startTime: '',
                    endTime: ''
                },
                companyInformation: [],
                currentRow: null,
                tableData: [],
                showOnSubmit: true,
                showOnReplace: true,
                showOnClose: false,
                showShenPi: true,
                // 机构信息
                orgName: ''
            }
        },
        mounted(){
            this.getData();
        },
        created(){
            this.userInfo = JSON.parse(localStorage.getItem('userInfo'));
            var userRole = this.userInfo.role;
            console.log(this.userInfo);
            if(userRole.includes("安评单位审核员")){
                this.hasApprovalBtn = true;
            }
            var userOrgName=this.userInfo.orgName;
            console.log(userOrgName);
            if (userOrgName.includes("安评单位")){
                this.isButt=false;
            }
            this.orgName = this.userInfo.orgName;
            axios.get('../../json/ChinaCity.json').then(res=>{
                this.provinceData = res.data;
            }).catch(e => {
                this.$message.error("网络连接超时");
            })
            axios.get('../../json/orgtype.json').then(res=>{
                this.orgTypeList = res.data;
            }).catch(e => {
                this.$message.error("网络连接超时");
            })
            axios.get('../../json/jinji.json').then(res=>{
                this.jinjilist = res.data;
            }).catch(e => {
                this.$message.error("网络连接超时");
            })
            axios.get('../../json/IndustryCategory.json').then(res=>{
                this.hangyetypeLIst = res.data;
            }).catch(e => {
                this.$message.error("网络连接超时");
            })
        },
        methods: {
            handleCheckChange(data, checked, node) {
                if(checked == true){
                    this.apUnitEntity.organizationClass = data.label;
                    this.$refs.tree.setCheckedNodes([data]);
                }
            },

            handleCheckChangejinji(data, checked, node) {
                if(checked == true){
                    this.apUnitEntity.nationalEconomy = data.label;
                    this.$refs.tree.setCheckedNodes([data]);
                }
            },

            handleCheckChangehangye(data, checked, node) {
                if(checked == true){
                    this.apUnitEntity.industryCategory = data.label;
                    this.$refs.tree.setCheckedNodes([data]);
                }
            },
            getData() {
                var pagesize = this.pagesize;
                var pageno = this.currentPage;
                axios({
                    method: 'get',
                    url: '/dzjap/evalunit/listpage',
                    params: {
                        pageSize: pagesize,
                        pageNo: pageno
                    }
                })
            	.then(response => {
                    let data = response.data;
                    if (data.code == 200) {
                        let dataInformation = data.page.results;
                        this.tableTotal = data.page.total;// 数据长度

                        this.tableData = dataInformation;

                    } else {
                        this.$message.error(data.msg);
                    }
                })
                .catch(function (error) {
                    console.log(error);
                });
            },
            // 检查移入和移出黑名单原因是否有值
            checkReason(movein,moveout){
                // 移入黑名单
                if(movein == '' || movein == null || movein == undefined){
                    this.showMoveInList = false;
                }else{
                    this.showMoveInList = true;
                }

                // 移出黑名单
                if(moveout == '' || moveout == null || moveout == undefined){
                    this.showMoveOutList = false;
                }else{
                    this.showMoveOutList = true;
                }
            },
            // 表单提交
            onSubmit() {
                this.$refs[apUnitEntity].validate((valid) => {
                    if(valid){
                        axios({
                            method: 'post',
                            url: 'enterPrise/addEnterPrise',
                            data: this.apUnitEntity
                        })
                        .then((response) => {
                            let data = response.data;
                            if (data.code == 200) {
                                this.dialogForm = false;
                                this.$message({
                                    type: 'success',
                                    message: '添加成功!'
                                });
                                this.getData();
                            } else {
                                this.$message.error(data.msg);
                            }
                        });
                    }
                })
            },
            // 表单审定
            onShenPi(apUnitEntity){
                this.$refs[apUnitEntity].validate((valid) => {
                    if(valid) {
                        var  encrypt = new JSEncrypt();
                        encrypt.setPublicKey(publicKey);
                        let result = encrypt.encrypt(this.apUnitEntity.password);
                        this.apUnitEntity.password = result;
                        axios({
                            method: 'post',
                            url: '/dzjap/evalunit/update',
                            data: this.apUnitEntity
                        })
						.then(response => {
                            let data = response.data;

                            if (data.code == 200) {
                                this.clearForm();
                                this.dialogShenPiForm = false;
                                this.$message({
                                    type: 'success',
                                    message: '审定成功!'
                                });
                                this.getData();
                            } else {
                                console.log(data.msg);
                                this.$message.error(data.msg);
                            }
                        })
                    }else {
                        console.log("必填信息不能为空")
                        return false;
                    }
                })
            },
            onShangbao(index,row){
                this.apUnitEntity=row;
                axios({
                    method: 'post',
                    url: '/dzjap/evalunit/updatebyid/1',
                    data: this.apUnitEntity
                })
                    .then((response) => {
                        let data = response.data;
                        console.log(data);
                        if (data.code == 200) {
                            this.clearForm();
                            this.dialogShenPiForm = false;
                            this.$message({
                                type: 'success',
                                message: '上报成功!'
                            });
                            this.getData();
                        } else {
                            alert(data.msg);
                            //this.$message.error(data.msg);
                            this.$message.error('123');
                        }
                    });
            },
            clearForm(){
                this.showMoveOutList = false;
                this.showMoveInList = false;
                /*this.$nextTick(()=>{
                	this.$refs['jscompanymessage'].resetField();
                })*/
                this.clearFromInformation();
            },
            // 清空表单
            clearFromInformation(){
                this.apUnitEntity.unitName ='';
                this.apUnitEntity.syUnitType ='';
                this.apUnitEntity.qyUnitType ='';
                this.apUnitEntity.registAddr ='';
                this.apUnitEntity.registAddrCode ='';
                this.apUnitEntity.bgAddr ='';
                this.apUnitEntity.bgAddrCode ='';
                this.apUnitEntity.legalMan ='';
                this.apUnitEntity.legalManTel ='';
                this.apUnitEntity.linkMan ='';
                this.apUnitEntity.linkTel ='';
                this.apUnitEntity.linkOffice ='';
                this.apUnitEntity.linkFax ='';
                this.apUnitEntity.linkEmail ='';
                this.apUnitEntity.upMainUnit ='';
                this.apUnitEntity.establishTime ='';
                this.apUnitEntity.unitRegistTime ='';
                this.apUnitEntity.uniscid ='';
                this.apUnitEntity.password ='';
                this.apUnitEntity.registMoney ='';
                this.apUnitEntity.highDownsixty =0;
                this.apUnitEntity.highUpsixty =0;
                this.apUnitEntity.highSum =0;
                this.apUnitEntity.midDownsixty =0;
                this.apUnitEntity.midUpsixty =0;
                this.apUnitEntity.midSum =0;
                this.apUnitEntity.priDomnsixty =0;
                this.apUnitEntity.priUpsixty =0;
                this.apUnitEntity.priSum =0;
                this.apUnitEntity.sumDownsixty =0;
                this.apUnitEntity.sumUpsixty =0;
                this.apUnitEntity.sum =0;
                this.apUnitEntity.dzxHigh ='';
                this.apUnitEntity.dzdzxHigh ='';
                this.apUnitEntity.dzgcxHigh ='';
                this.apUnitEntity.apYjqk ='';
                this.apUnitEntity.apJsnlqk ='';
                this.apUnitEntity.zlglTxqk ='';
                this.apUnitEntity.userName ='';
                this.apUnitEntity.pripId ='';
                this.apUnitEntity.regNo ='';
                this.apUnitEntity.entType ='';
                this.apUnitEntity.entTypeCn ='';
                this.apUnitEntity.industryCategory= '地震服务';
                this.apUnitEntity.organizationClass= '';
                this.apUnitEntity.nationalEconomy= '';
                this.apUnitEntity.dom= '';
                this.apUnitEntity.opLoc= '';
                this.apUnitEntity.opFrom= '';
                this.apUnitEntity.opTo= '';
                this.apUnitEntity.opScope= '';
                this.apUnitEntity.opScoType= '';
                this.apUnitEntity.opScoTypeCn= '';
                this.apUnitEntity.regOrg= '';
                this.apUnitEntity.regOrgCn= '';
                this.apUnitEntity.regState= '';
                this.apUnitEntity.regStateCn= '';
                this.apUnitEntity.apprDate= '';
                this.apUnitEntity.revDate= '';
                this.apUnitEntity.sugRevReason= '';
                this.apUnitEntity.linkmanCerNo= '';
                this.apUnitEntity.operatingLongitude= '';
                this.apUnitEntity.operatingLatitude= '';
                // 审定
                this.apUnitEntity.spPerson = '';
                this.apUnitEntity.spReview = '';
                this.apUnitEntity.spOrg = '';
                this.apUnitEntity.spStatus = '';
                this.apUnitEntity.spReview = '';
                this.apUnitEntity.checkResult = '';

                this.apUnitEntity.provinceValue ='';
                this.apUnitEntity.cityValue ='';
                this.apUnitEntity.areaValue ='';
                this.apUnitEntity.detailAddress = '';
            },
            handleChange(value) {
                console.log(value);
            },
            apply(){
                this.dialogForm = true;
                this.showOnSubmit = false;
                this.showOnReplace = false;

                this.clearForm();

                this.formDisabled = false;
            },
            /* 单选搜索表单 */
            selectCurrentChange(val){
                this.currentRow = val;
            },
            /* 列表页搜索 */
            searchForm(selectForm) {
                var pagesize = this.pagesize;
                var pageno = this.currentPage;

                axios({
                    method: 'get',
                    url: '/dzjap/evalunit/listpage',
                    params: {
                        pageSize: pagesize,
                        pageNo: pageno,
                        unitName: this.selectForm.unitName,
                        uniscid: this.selectForm.uniscid,
                        spPerson: this.selectForm.spPerson,
                        spStatus: this.selectForm.spStatus,
                        sbStatus: this.selectForm.sbStatus,
                        startTime: this.selectForm.startTime,
                        endTime: this.selectForm.endTime
                    }
                })
                .then(response => {
                    let data = response.data;
                    if (data.code == 200) {
                        let dataInformation = data.page.results;
                        this.tableTotal = data.page.total;// 数据长度

                        this.tableData = dataInformation;
                    } else {
                        this.$message.error(data.msg);
                    }
                })
                .catch(function (error) {
                    console.log(error);
                });
            },
            /* 列表页重置 */
            resetForm(formName) {
                this.selectForm.unitName = '';
				this.selectForm.uniscid = '';
				this.selectForm.spPerson = '';
				this.selectForm.spStatus = '';
				this.selectForm.sbStatus = '';
				this.selectForm.startTime = '';
				this.selectForm.endTime = '';
           		/*this.$nextTick(() => {
               		this.$refs['selectForm'].resetField();
               	})*/

                this.getData();
            },
            //每页下拉显示数据
            handleSizeChange(size) {
                this.pagesize = size;
                this.getData();
                /*console.log(this.pagesize) */
            },
            //点击第几页
            handleCurrentChange(currentPage) {
                this.currentPage = currentPage;
                this.getData();
            },
            // 设置允许填写和不允许填写
            checkDisabled(n){
                if(n){
                    this.formDisabled = true;
                }else{
                    this.formDisabled = false;
                }
            },
            // 删除
            del(index,row){
                var enterpriseCreditId = row.enterpriseCreditId;
                var enterpriseCredittype = row.enterpriseCredittype;

                this.$confirm('确定要删除吗?', '提示', {
                    cancelButtonText: '取消',
                    confirmButtonText: '确定',
                    type: 'warning'
                }).then(() => {
                    axios({
                        method: 'post',
                        url: '/dzjap/evalunit/delConstr/'+row.id
                    })
                        .then(response => {
                            let data = response.data;
                            console.log(response)
                            if (data.code == 200) {
                                // 确认删除
                                this.$message({
                                    type: 'success',
                                    message: '删除成功!'
                                });
                                this.getData();
                            } else {
                                this.$message.error(data.msg);
                            }
                        })
                        .catch(function (error) {
                            console.log(error);
                        });
                }).catch(() => {
                    this.$message({
                        type: 'info',
                        message: '取消删除'
                    });
                });
            },
            // 查看
            view(index,row){
                this.dialogShenPiForm = true;
                this.showOnReplace = false;
                this.showOnSubmit = false;
                this.showOnJoinList = false;
                this.showOnClose=true;
                this.showShenPi = true;
                this.showInformation(index,row);
                this.checkDisabled(true);
            },
            // 审定
            approval(index,row){

                this.dialogShenPiForm = true;
                this.showOnSubmit = true;
                this.showOnReplace =true;
                this.showOnClose =true;
                this.showShenPi = false;
                this.showInformation(index,row);
                this.checkDisabled(true);
             //   this.resetShenPiForm();
            },
            // 公共方法--查看
            showInformation(index,row){
                axios({
                    method: 'post',
                    url: '/dzjap/evalunit/findbyid/'+row.id,
                })
                    .then(response => {
                        let data = response.data;
                        if (data.code == 200) {
                            let rowdata = data.apUnitEntity;
                            this.clearForm(); // 重置
                            rowdata.spPerson = this.userInfo.loginName;
                            rowdata.spOrg=this.userInfo.orgName;
                            this.apUnitEntity = rowdata;
                            debugger;
                            var arr = rowdata.registAddr.split("-");
                            this.apUnitEntity.provinceValue = arr[0];
                            this.apUnitEntity.cityValue = arr[1];
                            this.apUnitEntity.areaValue = arr[2];
                            this.apUnitEntity.detailAddress = arr[3];
                            // 检查移入和移出黑名单原因是否有数据，从而判断是否显示列表
                            this.checkReason(rowdata.specause,rowdata.remexcpres);

                            this.moveOutDisabled = true;
                            this.moveInDisabled = true;

                        } else {
                            this.$message.error(data.msg);
                        }
                    })
                    .catch(function (error) {
                        console.log(error);
                    });
            },
            submitForm(apUnitEntity) {
                this.$refs[apUnitEntity].validate((valid) => {
                    if(valid) {
                        /*var  encrypt = new JSEncrypt();
                        encrypt.setPublicKey(publicKey);
                        let result = encrypt.encrypt(this.apUnitEntity.password);
                        this.apUnitEntity.password =result;*/
                        this.apUnitEntity.registAddr = this.apUnitEntity.provinceValue + "-"
                            + this.apUnitEntity.cityValue + "-" + this.apUnitEntity.areaValue + "-" + this.apUnitEntity.detailAddress;
                        axios({
                            method: 'post',
                            url: '/dzjap/apunit/regist',
                            data: this.apUnitEntity,
                        })
                            .then(response => {

                                let data = response.data;

                                if (data.code == 200) {
                                    this.dialogForm = false;
                                    this.clearForm();
                                    this.$message({
                                        message: '已注册，请注意查看审定结果！',
                                        type: 'success'
                                    });

                                    this.getData();
                                } else {
                                    this.$message.error(data.msg);
                                }
                            })
                            .catch(function (error) {
                                console.log(error);
                            });
                    } else {
                        alert("必填信息不能为空");
                        return false;
                    }
                });

            },
            resetApForm(formName) {
                this.sydisabled = 0;
                this.qydisabled = 0;
                this.apUnitEntity.syUnitType = "";
                this.apUnitEntity.qyUnitType = "";
                this.apUnitEntity.provinceValue = "";
                this.apUnitEntity.cityValue = "";
                this.apUnitEntity.areaValue = "";
                this.apUnitEntity.detailAddress = '';
                this.$refs[formName].resetFields();

            },
			// 审定列表重置
			resetShenPiForm() {
                this.apUnitEntity.spReview = '';
                this.apUnitEntity.checkResult = '';
			},
           /* syChangeValue(value){
                if(value != "") {
                    this.qydisabled = 1;
				} else {
                    this.qydisabled = 0;
				}

            },
            qyChangeValue(value){
                if(value != "") {
                    this.sydisabled = 1;
				} else {
                    this.sydisabled = 0;
				}
            },*/
            chooseProvince(value){
                this.cityValue = '';
                this.areaValue = '';
                this.cityData = [];
                this.areaData = [];
                this.provinceData.map(e=>{//遍历数据
                    if( value == e.name){
                        this.cityData = e.cityList;
                        return;
                    }
                })
                this.apUnitEntity.registAddr = value;
            },
            chooseCity(value){
                this.areaValue = '';
                this.cityData.map(e=>{//遍历数据
                    if( value == e.name){
                        this.areaData = e.areaList;
                        return;
                    }
                })
                this.apUnitEntity.registAddr=this.apUnitEntity.registAddr +"-" +value;
                console.log(this.apUnitEntity.registAddr)
            },
            chooseArea(value){
                this.apUnitEntity.registAddr=this.apUnitEntity.registAddr +"-" +value;
                console.log(this.apUnitEntity.registAddr)
            },
            //检查上传类型
            checkType() {
                let vm = this;
                let allImgExt = '.xls|.xlsx|';
                let filePath = this.$refs.head.value;
                let extName = filePath.substring(filePath.lastIndexOf(".")).toLowerCase();
                if (allImgExt.indexOf(extName + '|') === -1) {
                    this.$message("请选择正确的Excel文件");
                    this.$refs.head.value = '';
                    excelContent = [];
                    return;
                }
                let file = this.$refs.head.files[0];
                this.selectForm.fileName = file.name;

            },
            // 验证字符串是否为手机号
            checkTel(str) {
                let re = /^1\d{10}$/
                if (re.test(str)) {
                    return true;
                } else {
                    return false;
                }
            },
            // 验证字符串是否为邮箱
            isEmail(str) {
                let re = /^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z0-9]{2,6}$/
                if (re.test(str)) {
                    return true;
                } else {
                    return false;
                }
            },
            // 计算职称人数
            sum() {
                if(this.apUnitEntity.highDownsixty == '') { this.apUnitEntity.highDownsixty = 0; }
                if(this.apUnitEntity.highUpsixty == '') { this.apUnitEntity.highUpsixty = 0; }
                if(this.apUnitEntity.midDownsixty == '') { this.apUnitEntity.midDownsixty = 0; }
                if(this.apUnitEntity.midUpsixty == '') { this.apUnitEntity.midUpsixty = 0; }
                if(this.apUnitEntity.priDomnsixty == '') { this.apUnitEntity.priDomnsixty = 0; }
                if(this.apUnitEntity.priUpsixty == '') { this.apUnitEntity.priUpsixty = 0; }

                this.apUnitEntity.highSum = this.apUnitEntity.highDownsixty + this.apUnitEntity.highUpsixty;
                this.apUnitEntity.midSum = this.apUnitEntity.midDownsixty + this.apUnitEntity.midUpsixty;
                this.apUnitEntity.priSum = this.apUnitEntity.priDomnsixty + this.apUnitEntity.priUpsixty;
                this.apUnitEntity.sumDownsixty = this.apUnitEntity.highDownsixty + this.apUnitEntity.midDownsixty + this.apUnitEntity.priDomnsixty;
                this.apUnitEntity.sumUpsixty = this.apUnitEntity.highUpsixty + this.apUnitEntity.midUpsixty + this.apUnitEntity.priUpsixty;
                this.apUnitEntity.sum = this.apUnitEntity.sumDownsixty + this.apUnitEntity.sumUpsixty;

            },
            syChangeValue(value){
                this.apUnitEntity.qyUnitType = '';
                this.apUnitlist = [];
                this.apTypelist.map(e=>{//遍历数据
                    if( value == e.name){
                        this.apUnitlist = e.typeList;
                        return;
                    }
                })
                console.log(value)
            },
            //验证非负浮点数值
            checkNum(str){
                let re=/^\d+(\.\d+)?$/;
                if (re.test(str)) {
                    return true;
                } else {
                    return false;
                }
            },
            // 验证正整数
            checkPositiveInt(str) {
                let re = /^([1-9]\d*|[0]{1,1})$/;
                if(re.test(str)) {
                    return true;
                } else {
                    return false;
                }
            }
        }
    })
</script>
</body>
</html>